On Deening Functions on Binary Trees 1

نویسندگان

  • Grzegorz Bancerek
  • Piotr Rudnicki
چکیده

This article is a continuation of an article on deening functions on trees (see 7]). In this article we develop terminology specialized for binary trees, rst deening binary trees and binary grammars. We recast the induction principle for the set of parse trees of binary grammars and the scheme of deening functions inductively with the set as domain. We conclude with deening the scheme of deening such functions by lambda-like expressions. 7] provide the notation and terminology for this paper. Let D be a non empty set and let t be a tree decorated with elements of D. The root label of t is an element of D and is deened by: (Def. 1) The root label of t = t("): We now state two propositions: (1) Let D be a non empty set and t be a tree decorated with elements of D. Then the roots of hti = hthe root label of ti: (2) Let D be a non empty set and t 1 , t 2 be trees decorated with elements of D. Then the roots of ht 1 ; t 2 i = hthe root label of t 1 , the root label of t 2 i: Let I 1 be a tree. We say that I 1 is binary if and only if: (Def. 2) For every element t of I 1 such that t = 2 Leaves(I 1) holds succ t = ft h0i; t h1ig: We now state several propositions: (3) For every tree T and for every element t of T holds t 2 Leaves(T) ii t h0i = 2 T: (4) For every tree T and for every element t of T holds t 2 Leaves(T) ii it is not true that there exists a natural number n such that t hni 2 T: (5) For every tree T and for every element t of T holds succ t = ; ii t 2 Leaves(T): (6) The elementary tree of 0 is binary.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Heuristic Algorithm for Drawing Binary Trees within Arbitrary Polygons Based on Center of Gravity

Graphs have enormous usage in software engineering, network and electrical engineering. In fact graphs drawing is a geometrically representation of information. Among graphs, trees are concentrated because of their ability in hierarchical extension as well as processing VLSI circuit. Many algorithms have been proposed for drawing binary trees within polygons. However these algorithms generate b...

متن کامل

Profile and Height of Random Binary Search Trees

The purpose of this article is to survey recent results on distributional properties of random binary search trees. In particular we consider the profile and the height.

متن کامل

On Defining Functions on Binary Trees

This article is a continuation of an article on defining functions on trees (see [6]). In this article we develop terminology specialized for binary trees, first defining binary trees and binary grammars. We recast the induction principle for the set of parse trees of binary grammars and the scheme of defining functions inductively with the set as domain. We conclude with defining the scheme of...

متن کامل

On Defining Functions on Binary Trees1

This article is a continuation of an article on defining functions on trees (see [6]). In this article we develop terminology specialized for binary trees, first defining binary trees and binary grammars. We recast the induction principle for the set of parse trees of binary grammars and the scheme of defining functions inductively with the set as domain. We conclude with defining the scheme of...

متن کامل

On Deening Functions on Trees 1

The continuation of the sequence of articles on trees (see 2, 3, 4, 5]) and on context-free grammars ((12]). We deene the set of complete parse trees for a given context-free grammar. Next we deene the scheme of induction for the set and the scheme of deening functions by induction on the set. For each symbol of a context-free grammar we deene the terminal, the pretraversal, and the posttravers...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993